<%--
  Created by IntelliJ IDEA.
  User: 星星在唱歌
  Date: 2022/2/21
  Time: 10:47
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>

    </title>
</head>
<body>
    获取值${username}
    <br>获取集合${list[1]}
    <br>获取对象集合${userdemo[1].userName}
<%
    Object username = request.getAttribute("username");
    System.out.println(username+"");
%>
<%-- 算数运算符 --%>
${1>2}<br>
${5 eq 5} == ${5 == 5} <br>

<%-- 逻辑运算符 --%>
${19 > 17 || 5 > 8 } == ${19 > 17 or 5 > 8}<br>
${8 > 7 && 9 < 7} == ${8 > 7 and 9 < 7}<br>
${!(8>5)} == ${not(8>5)}

<%-- 判断是否为空 --%>
${user == null} == ${empty user}
${user != null} == ${not empty user}
</body>
</html>
